<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE >
<html>
<head>
<base href="<%=basePath%>">

<title>员工登记表</title>
</head>

<body>

	<h1>员工基本信息</h1>
	<hr />
	<form action="<%=basePath %>emp.action" method="post">

		<table cellpadding="5px" cellspacing="0px">

			<tr>
				<td>员工编号:</td>
				<td><input type="text" id="emp.empno" name="emp.empno" value="1001"></td>
			</tr>
			<tr>
				<td>员工姓名:</td>
				<td><input type="text" id="emp.ename" name="emp.ename" value="蒋正午"></td>
			</tr>
			<tr>
				<td>雇佣日期:</td>
				<td><input type="date" id="emp.hiredate" name="emp.hiredate" value="2012-11-12"></td>
			</tr>
			<tr>
				<td>员工工资:</td>
				<td><input type="text" id="emp.sal" name="emp.sal" value="20000.0"></td>
			</tr>
			<tr>
				<td>部门编号:</td>
				<td><input type="text" id="emp.dept.deptno" name="emp.dept.deptno" value="001"></td>
			</tr>
			<tr>
				<td>部门名称:</td>
				<td><input type="text" id="emp.dept.dname" name="emp.dept.dname" value="研发部"></td>
			</tr>
			<tr>
				<td colspan="2"><input type="submit" value="提交">&nbsp;<input type="reset" value="重置"></td>
			</tr>
		</table>

	</form>



</body>
</html>
